﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TodoPage.aspx.cs" Inherits="CSE445HW5.UserProtected.TodoPage" MasterPageFile="~/Site.Master"%>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

<h1>My Task List</h1>
<div style="height: 530px; width: 910px">  
    
    <b>New Task</b><asp:Panel ID="Panel1" runat="server" Width="533px" 
        Height="301px" BorderColor="Black" BorderStyle="Outset">
        &nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;
        <asp:Label ID="Label1" runat="server" Text="Description"></asp:Label>
        :<asp:TextBox ID="textboxDescription" runat="server" style="margin-left: 16px" 
            Width="385px"></asp:TextBox>
        <br />
        &nbsp;&nbsp; Date:&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="textDate" runat="server" Enabled="False" 
            Width="96px"></asp:TextBox>    
        <asp:Calendar ID="dateCalendar" runat="server" BackColor="White" 
            BorderColor="#999999" CellPadding="4" DayNameFormat="Shortest" 
            Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" Height="180px" 
            Width="200px" onselectionchanged="dateCalendar_SelectionChanged">
            <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
            <NextPrevStyle VerticalAlign="Bottom" />
            <OtherMonthDayStyle ForeColor="#808080" />
            <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
            <SelectorStyle BackColor="#CCCCCC" />
            <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
            <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
            <WeekendDayStyle BackColor="#FFFFCC" />
        </asp:Calendar>
        &nbsp;<br /> &nbsp;<asp:Button ID="addTaskButton" runat="server" 
            Text="Add Task" onclick="addTaskButton_Click" />
        <br />
        <br />
        <br />
        <asp:ListBox ID="taskListBox" runat="server" Height="160px" Width="481px">
        </asp:ListBox>
    </asp:Panel>
    <br /> 
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/UserProtected/UserPage.aspx">Go back to User Home</asp:HyperLink>
<br/>  
</asp:Content>
